import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import Vant from 'vant'
import TDesign from 'tdesign-vue-next'
import web3Plugin from './plugins/web3Plugin'

// 引入样式
import 'vant/lib/index.css'
import 'tdesign-vue-next/es/style/index.css'
import '@/assets/styles/index.scss'
import '@/assets/styles/common.scss'
import '@/assets/styles/layout.scss'

// 创建Vue应用
const app = createApp(App)

// 使用插件
app.use(router)
app.use(createPinia())
app.use(Vant)
app.use(TDesign)
app.use(web3Plugin)

// 挂载应用
app.mount('#app')
